﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace MyGame
{
    public class PerspectiveCamera : Camera
    {
        public float NearPlaneDistance { get; set; }
        public float FarPlaneDistance { get; set; }
        public float FieldOfView { get; set; }
        public float AspectRatio { get; set; }

        public void InitCamera(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector,
            float nearPlanceDistance,
            float farPlanceDistance,
            float fieldOfView,
            float aspectRatio)
        {
            CameraPosition = cameraPosition;
            CameraTarget = cameraTarget;
            CameraUpVector = cameraUpVector;
            NearPlaneDistance = nearPlanceDistance;
            FarPlaneDistance = farPlanceDistance;
            FieldOfView = fieldOfView;
            AspectRatio = aspectRatio;

        }
    }
}
